find center of star graph